//
//  TestSliderComponent.h
//  MKUITestApp
//
//  Created by 苏尚进 on 2025/7/11.
//  Copyright © 2025 moon. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MKUI/MKUI.h>
NS_ASSUME_NONNULL_BEGIN

@interface TestSliderComponent : UIView
@property(nonatomic,strong) UISlider *slider;
@property(nonatomic,strong) UILabel *titleLabel;
@property(nonatomic,strong) UILabel *valueLabel;

@property(nonatomic,assign) CGFloat minimumValue;
@property(nonatomic,assign) CGFloat maximumValue;
@property(nonatomic,assign) CGFloat value;
@property(nonatomic,strong) NSString *title;
@property(nonatomic,copy,nullable) void(^whenChange)(TestSliderComponent *el,CGFloat value);

- (id)initWithTitle:(NSString *)title value:(CGFloat)value minimumValue:(CGFloat)minimumValue maximumValue:(CGFloat)maximumValue whenChange:(void(^)(TestSliderComponent *el,CGFloat value))whenChange;
@end

NS_ASSUME_NONNULL_END
